package net.template.domain.template;

import java.util.List;

/**
 * Created by Administrator on 2018/9/16/016.
 * 封装给前端返回的实体类
 */
public class TalbeItem {
    private Integer id;

    private String type;

    private String label;

    private String prop;

    private String icon;

    private String click;

    private boolean readonly;

    private String value;

    private String placeholder;

    private List rules;

    private String key;

    private String subtype;

    private String text;

    private boolean disable;

    private String columnName;

    public String getProp() {
        return prop;
    }

    public void setProp(String prop) {
        this.prop = prop;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }



    public TalbeItem() {
        this.disable = false;
        this.readonly = false;
        this.placeholder = "";
        this.text = "";
        this.value = "";
        this.rules = null;
    }



    public TalbeItem(String type, String label, String click, boolean disable, boolean readonly, String value, String placeholder, List rules, String key, String subtype, String text) {
        this.type = type;
        this.label = label;
        this.click = click;
        this.disable = disable;
        this.readonly = readonly;
        this.value = value;
        this.placeholder = placeholder;
        this.rules = rules;
        this.key = key;
        this.subtype = subtype;
        this.text = text;
    }

    public String getClick() {
        return click;
    }

    public void setClick(String click) {
        this.click = click;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isDisable() {
        return disable;
    }

    public void setDisable(boolean disable) {
        this.disable = disable;
    }

    public boolean isReadonly() {
        return readonly;
    }

    public void setReadonly(boolean readonly) {
        this.readonly = readonly;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public List getRules() {
        return rules;
    }

    public void setRules(List rules) {
        this.rules = rules;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getSubtype() {
        return subtype;
    }

    public void setSubtype(String subtype) {
        this.subtype = subtype;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }


}
